/* 
 * File:   logTraffic.h
 * Author: orson
 *
 * Created on 20 marzec 2009, 16:01
 */

#ifndef _LOGTRAFFIC_H
#define	_LOGTRAFFIC_H

#ifdef	__cplusplus
extern "C" {
#endif

void PrintIpHeader      (unsigned char* Buffer, int Size);
void PrintTcpPacket     (unsigned char* Buffer, int Size);
void PrintUdpPacket     (unsigned char *Buffer,int Size);
void PrintIcmpPacket    (unsigned char* Buffer , int Size);
void PrintData          (unsigned char* data , int Size);
void InitLog            (char* filname, unsigned char logDetails);
void CloseLog           (void);

#ifdef	__cplusplus
}
#endif

#endif	/* _LOGTRAFFIC_H */

